Final interface, ::class Constant, Equal Interface and other useful Checkers for PHP-CS-Fixer and PHP_CodeSniffer.
The best and easiest way to start coding standard with. Combined both CodeSniffer and PHP-CS-Fixer
Handy Dependency Injection methods for Symfony and Nette.
$eventDispatcherDefinition = DefinitionFinder::getByType($containerBuilder, EventDispatcher::class);
$eventSubscribersDefinitions = DefinitionFinder::findAllByType($containerBuilder, EventSubscriberInterface::class);
DefinitionCollector::loadCollectorWithType(
$containerBuilder,
EventDispatcher::class,
EventSubscriberInterface::class,
'addSubscriber'
);Statie helps you to host and develop your blog on Github. A static site generator with aim on community websites.
Pehapkari.cz (Github repo) and TomasVotruba.cz (Github repo).
Single action and framework-independent presenters with __invoke() support in Nette.
Fork, clone your repository and install dependencies:
git clone git@github.com:<your-name>/Symplify.git
cd Symplify
composer installThis is monolithic repository for Symplify packages. Put all your PRs and ISSUEs here.
Just follow 3 rules:
-
1 feature per pull-request
-
New feature needs tests. Coveralls.io checks code coverage under every PR.
-
Tests, coding standard and PHPStan checks must pass
composer complete-check
Often you don't need to fix coding standard manually, just run:
composer fix-cs
We would be happy to merge your feature then.