Projects » Symfony Dependency Injection

@22015 failed

[dependency_injection] fixed static constructor without argument PHP dumper (closes #7150)
by fabien on 14 Sep 2009
Failed to build the project

Error
Build failed for project "Symfony Dependency Injection". (return value 1)

Standard Output
unit/CrossCheckTest..................................................ok
unit/sfServiceContainerAutoloaderTest................................ok
unit/sfServiceContainerBuilderTest...................................ok
unit/sfServiceContainerDumperGraphvizTest............................ok
unit/sfServiceContainerDumperPhpTest.................................ok
unit/sfServiceContainerDumperTest....................................ok
unit/sfServiceContainerDumperXmlTest.................................ok
unit/sfServiceContainerDumperYamlTest................................not ok
    Failed tests: 3
unit/sfServiceContainerLoaderFileIniTest.............................ok
unit/sfServiceContainerLoaderFileTest................................ok
unit/sfServiceContainerLoaderFileXmlTest.............................ok
unit/sfServiceContainerLoaderFileYamlTest............................ok
unit/sfServiceContainerLoaderTest....................................ok
unit/sfServiceContainerTest..........................................ok
unit/sfServiceDefinitionTest.........................................ok
unit/sfServiceReferenceTest..........................................ok
Failed Test                     Stat  Total   Fail  List of Failed
------------------------------------------------------------------
ServiceContainerDumperYamlTest     0      4      1  3
Failed 1/16 test scripts, 93.75% okay. 1/240 subtests failed, 99.58% okay.

 unit/sfServiceContainerDumperYamlTest.php 
#   at unit/sfServiceContainerDumperYamlTest.php line 41
>   ->dump() dumps services
           got: 'parameters:
  baz_class: BazClass
  foo: bar

services:
  foo:
    class: FooClass
    file: /var/www/production/sismo_sf/www/builds/sismo_symfony-dependency-injection_f6888472e41951bb54af98a67efb5db4/test/unit/fixtures/includes/foo.php
    constructor: getInstance
    arguments: [foo, \'@foo.baz\', { \'%foo%\': \'foo is %foo%\' }, true, \'@service_container\']
    calls:
      - [setBar, [bar]]
      - [initialize, {  }]
      
    shared: false
    configurator: sc_configure
  bar:
    class: FooClass
    arguments: [foo, \'@foo.baz\']
    configurator: [\'@foo.baz\', configure]
  foo.baz:
    class: %baz_class%
    constructor: getInstance
    configurator: [\'%baz_class%\', configureStatic1]
  foo_bar:
    class: FooClass
  alias_for_foo: @foo
'
      expected: 'parameters:
  baz_class: BazClass
  foo: bar

services:
  foo:
    class: FooClass
    file: /var/www/production/sismo_sf/www/builds/sismo_symfony-dependency-injection_f6888472e41951bb54af98a67efb5db4/test/unit/fixtures/includes/foo.php
    constructor: getInstance
    arguments: [foo, @foo.baz, { %foo%: \'foo is %foo%\' }, true, @service_container]
    calls:
      - [setBar, [bar]]
      - [initialize, {  }]
      
    shared: false
    configurator: sc_configure
  bar:
    class: FooClass
    arguments: [foo, @foo.baz]
    configurator: [@foo.baz, configure]
  foo.baz:
    class: %baz_class%
    constructor: getInstance
    configurator: [%baz_class%, configureStatic1]
  foo_bar:
    class: FooClass
  alias_for_foo: @foo
'


Standard Error