Skip to content

Commit

Permalink
Merge pull request #30 from patchlevel/profiler
Browse files Browse the repository at this point in the history
add profiler
  • Loading branch information
DavidBadura committed Jan 3, 2022
2 parents 2e08bf3 + 7c5feb1 commit f6e0e12
Show file tree
Hide file tree
Showing 12 changed files with 1,356 additions and 156 deletions.
9 changes: 9 additions & 0 deletions Makefile
Expand Up @@ -16,10 +16,19 @@ phpcs-fix: vendor
phpstan: vendor ## run phpstan static code analyser
vendor/bin/phpstan analyse

.PHONY: phpstan-baseline
phpstan-baseline: vendor ## run phpstan static code analyser
vendor/bin/phpstan analyse --generate-baseline

.PHONY: psalm
psalm: vendor ## run psalm static code analyser
vendor/bin/psalm

.PHONY: psalm-baseline
psalm-baseline: vendor ## run psalm static code analyser
vendor/bin/psalm --update-baseline


.PHONY: phpunit
phpunit: vendor ## run phpunit tests
vendor/bin/phpunit --testdox --colors=always -v $(OPTIONS)
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Expand Up @@ -35,6 +35,7 @@
"phpunit/phpunit": "^9.5.10",
"roave/security-advisories": "dev-master",
"symfony/messenger": "^4.4.34|^5.4.0|^6.0.0",
"symfony/web-profiler-bundle": "^4.4.34|^5.4.0|^6.0.0",
"symfony/var-dumper": "^5.4.0|^6.0.0",
"vimeo/psalm": "^4.13.1"
},
Expand All @@ -52,7 +53,12 @@
"preferred-install": {
"*": "dist"
},
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true
}
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit f6e0e12

Please sign in to comment.