docker-compose up --build
Watch the composer.json file as a sample.
| <?php | |
| namespace Psalm\Tests\Template; | |
| use Psalm\Tests\TestCase; | |
| use Psalm\Tests\Traits\ValidCodeAnalysisTestTrait; | |
| class NeverTypeTest extends TestCase | |
| { | |
| use ValidCodeAnalysisTestTrait; |
| parameters: | |
| git_hook_variables: | |
| EXEC_GRUMPHP_COMMAND: docker-compose run --rm --no-deps php-fpm php | |
| tasks: | |
| phpcsfixer2: | |
| config: ".php_cs.dist" | |
| config_contains_finder: true | |
| yamllint: | |
| parse_custom_tags: true | |
| phpunit: ~ |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <xsd:schema xmlns="http://symfony.com/schema/dic/services" | |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
| targetNamespace="http://symfony.com/schema/dic/services" | |
| elementFormDefault="qualified"> | |
| <xsd:annotation> | |
| <xsd:documentation><![CDATA[ | |
| Symfony XML Services Schema, version 1.0 |
| <?php | |
| namespace { | |
| \define( 'A', 'a' ); | |
| \define( 'B', 'b' ); | |
| } | |
| namespace foo { |
| [ | |
| { | |
| "version": "1.6.3", | |
| "sha256": "52cb7bbbaee720471e3b34c8ae6db53a38f0b759c06078a80080db739e4dcab6" | |
| }, | |
| { | |
| "version": "1.6.2", | |
| "sha256": "6ec386528e64186dfe4e3a68a4be57992f931459209fd3d45dde64f5efb25276" | |
| }, | |
| { |
| alias phpsegtrace='php -d xdebug.auto_trace=ON -d xdebug.trace_output_dir=/tmp/ -d xdebug.trace_output_name=phpsegtrace $@ || tail -n 50 /tmp/phpsegtrace.xt' | |
| alias phpsegdbg='lldb php $@' | |
| alias phpsegstrace='sudo dtruss php $@' |
| <?php | |
| namespace Application; | |
| use Application\Controller\IndexController; | |
| use Application\Controller\HomeController; | |
| use Application\Controller\ContactController; | |
| return [ | |
| 'controllers' => [ | |
| 'invokables' => [ |
| <!ELEMENT note (to,from,heading,body)> | |
| <!ELEMENT to (#PCDATA)> | |
| <!ELEMENT from (#PCDATA)> | |
| <!ELEMENT heading (#PCDATA)> | |
| <!ELEMENT body (#PCDATA)> |
| #!/bin/sh | |
| # This hook will make sure that the commit message contains a JIRA issue. | |
| # | |
| # To enable this hook, rename this file to ".git/hooks/commit-msg". | |
| # Make sure to add execution permissions to the file. | |
| export MESSAGE=$(<$1) | |
| export JIRA_ISSUE_TAG='ISSUETAG-([0-9]*)' | |
| if [[ $MESSAGE =~ $JIRA_ISSUE_TAG ]]; then |