Skip to content

Instantly share code, notes, and snippets.

Avatar

Aurelijus Valeiša aurelijus

View GitHub Profile
@aurelijus
aurelijus / serialize.php
Created Feb 5, 2013
Segmentation fault
View serialize.php
<?php
class Permission implements \Serializable {
protected $id = 3;
public function serialize()
{
return serialize(array($this->id));
}
public function unserialize($serialized)
{
list($this->id) = unserialize($serialized);
View gist:1886697
BUILD SUCCESSFUL
Total time: 14 minutes 51 seconds
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Parsing 1 files in /var/lib/jenkins/jobs/Project/workspace
[CHECKSTYLE] Successfully parsed file /var/lib/jenkins/jobs/Project/workspace/build/logs/checkstyle.xml of module with 8084 warnings.
[PMD] Collecting PMD analysis files...
[PMD] Parsing 1 files in /var/lib/jenkins/jobs/Project/workspace
[PMD] Successfully parsed file /var/lib/jenkins/jobs/Project/workspace/build/logs/pmd.xml of module with 461 warnings.
[DRY] Collecting duplicate code analysis files...
[DRY] Parsing 1 files in /var/lib/jenkins/jobs/Project/workspace
View gist:880870
<parameters>
<parameter key="service.service_listener.class">Brand\Bundle\ServiceBundle\ServiceListener</parameter>
<parameter key="service.exception_listener.class">Brand\Bundle\ServiceBundle\ExceptionListener</parameter>
<parameter key="service.exception_listener.controller">Brand\Bundle\ServiceBundle\Controller\ExceptionController::showAction</parameter>
</parameters>
<services>
<service id="service.service_listener" class="%service.service_listener.class%">
<tag name="kernel.listener" event="core.request" method="handle" />
</service>
You can’t perform that action at this time.