Perform some cleanup using php-cs-fixer #78

Merged
merged 1 commit into from Nov 17, 2014

Conversation

Projects
None yet
3 participants
@mbadolato
Contributor

mbadolato commented Nov 11, 2014

$ php-cs-fixer --verbose fix examples/

  1. event-dispatcher/event-dispatcher.php (function_declaration)
  2. event-handling/event-handling.php (new_with_braces)
  3. event-sourced-domain-with-tests/Invites.php (extra_empty_lines)

$ php-cs-fixer --verbose fix src/

  1. Broadway/EventSourcing/AggregateFactory/AggregateFactoryInterface.php (phpdoc_params)
  2. Broadway/EventSourcing/AggregateFactory/NamedConstructorAggregateFactory.php (unused_use)
  3. Broadway/EventSourcing/AggregateFactory/PublicConstructorAggregateFactory.php (new_with_braces)
  4. Broadway/EventSourcing/EventSourcingRepository.php (return)

$ php-cs-fixer --verbose fix test/

  1. Broadway/Auditing/CommandSerializerTest.php (visibility)
  2. Broadway/EventSourcing/AbstractEventSourcingRepositoryTest.php (unused_use)
  3. Broadway/EventSourcing/EventSourcingRepositoryTest.php (extra_empty_lines, new_with_braces)
  4. Broadway/Saga/Metadata/MetadataTest.php (unused_use, function_declaration)
  5. Broadway/Saga/Metadata/StaticallyConfiguredSagaMetadataFactoryTest.php (function_declaration)
  6. Broadway/Saga/MultipleSagaManagerTest.php (function_declaration)
  7. Broadway/Saga/State/CriteriaTest.php (psr0)
  8. Broadway/Saga/State/MongoDBRepositoryTest.php (function_declaration)
Perform some cleanup using php-cs-fixer
$ php-cs-fixer --verbose fix examples/
   1) event-dispatcher/event-dispatcher.php (function_declaration)
   2) event-handling/event-handling.php (new_with_braces)
   3) event-sourced-domain-with-tests/Invites.php (extra_empty_lines)

$ php-cs-fixer --verbose fix src/
   1) Broadway/EventSourcing/AggregateFactory/AggregateFactoryInterface.php (phpdoc_params)
   2) Broadway/EventSourcing/AggregateFactory/NamedConstructorAggregateFactory.php (unused_use)
   3) Broadway/EventSourcing/AggregateFactory/PublicConstructorAggregateFactory.php (new_with_braces)
   4) Broadway/EventSourcing/EventSourcingRepository.php (return)

$ php-cs-fixer --verbose fix test/
   1) Broadway/Auditing/CommandSerializerTest.php (visibility)
   2) Broadway/EventSourcing/AbstractEventSourcingRepositoryTest.php (unused_use)
   3) Broadway/EventSourcing/EventSourcingRepositoryTest.php (extra_empty_lines, new_with_braces)
   4) Broadway/Saga/Metadata/MetadataTest.php (unused_use, function_declaration)
   5) Broadway/Saga/Metadata/StaticallyConfiguredSagaMetadataFactoryTest.php (function_declaration)
   6) Broadway/Saga/MultipleSagaManagerTest.php (function_declaration)
   7) Broadway/Saga/State/CriteriaTest.php (psr0)
   8) Broadway/Saga/State/MongoDBRepositoryTest.php (function_declaration)
@othillo

This comment has been minimized.

Show comment
Hide comment
@othillo

othillo Nov 17, 2014

Member

👍

Member

othillo commented Nov 17, 2014

👍

wjzijderveld added a commit that referenced this pull request Nov 17, 2014

Merge pull request #78 from mbadolato/php_cs_fixer_cleanup
Perform some cleanup using php-cs-fixer

@wjzijderveld wjzijderveld merged commit 72540cc into broadway:master Nov 17, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@mbadolato mbadolato deleted the mbadolato:php_cs_fixer_cleanup branch Dec 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment