Skip to content

Commit 3392d91

Browse files
authored
Merge branch '3.x' into feature/phpunit-10
2 parents 176bf81 + 5c4f771 commit 3392d91

File tree

4 files changed

+26
-14
lines changed

4 files changed

+26
-14
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
php: [ 8.1, 8.2, 8.3 ]
1616
deps: [ highest ]
17-
symfony: [ 6.3.*, 6.4.*, 7.0.* ]
17+
symfony: [ 6.4.*, 7.0.* ]
1818
include:
1919
- php: 8.1
2020
deps: lowest

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/var/
66
/.php-cs-fixer.cache
77
/.phpunit.result.cache
8+
/Tests/app/var/cache/

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,13 @@ class OhDearController extends BaseOhDearController
592592
}
593593
```
594594

595+
You maybe need to add this route to your firewall-configuration in `config/packages/security.yaml`.
596+
597+
```yaml
598+
access_control:
599+
- { path: ^/health-check$, role: PUBLIC_ACCESS }
600+
```
601+
595602
Now, enable application monitoring in OhDear and add the expected Full URL
596603
(ie `https://myapp.com/health-check`) to the _Health Report URL_.
597604

@@ -605,6 +612,10 @@ your checks.
605612
> If you wish to restrict the check suites that are reported to OhDear, override the
606613
> `OhDearController::checks()` in your controller.
607614

615+
> [!NOTE]
616+
> Please mind that [OhDear does limit the checkResults to 50 items](https://ohdear.app/docs/features/application-health-monitoring#health-check-results-format).
617+
> If there are more, no checks will be monitored !
618+
608619
## Full Default Configuration
609620

610621
```yaml

composer.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@
2121
],
2222
"require": {
2323
"php": ">=8.1",
24-
"symfony/framework-bundle": "^6.3|^7.0",
25-
"symfony/string": "^6.3|^7.0",
24+
"symfony/framework-bundle": "^6.4|^7.0",
25+
"symfony/string": "^6.4|^7.0",
2626
"zenstruck/bytes": "^1.0"
2727
},
2828
"require-dev": {
29-
"colinodell/psr-testlogger": "^1.2",
30-
"doctrine/doctrine-bundle": "^2.10",
31-
"laminas/laminas-diagnostics": "^1.24",
29+
"colinodell/psr-testlogger": "^1.3",
30+
"doctrine/doctrine-bundle": "^2.11",
31+
"laminas/laminas-diagnostics": "^1.25",
3232
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
33-
"phpstan/phpstan": "^1.10",
33+
"phpstan/phpstan": "^1.4",
3434
"phpunit/phpunit": "^10.5.10",
35-
"symfony/http-client": "^6.3",
36-
"symfony/mailer": "^6.3|^7.0",
37-
"symfony/messenger": "^6.3|^7.0",
38-
"symfony/phpunit-bridge": "^7.0.3",
39-
"symfony/process": "^6.3|^7.0",
40-
"symfony/routing": "^6.3|^7.0",
41-
"symfony/var-dumper": "^6.0|^7.0",
35+
"symfony/http-client": "^6.4|^7.0",
36+
"symfony/mailer": "^6.4|^7.0",
37+
"symfony/messenger": "^6.4|^7.0",
38+
"symfony/phpunit-bridge": "^6.4|^7.0",
39+
"symfony/process": "^6.4|^7.0",
40+
"symfony/routing": "^6.4|^7.0",
41+
"symfony/var-dumper": "^6.4|^7.0",
4242
"zenstruck/browser": "^1.8",
4343
"zenstruck/console-test": "^1.5",
4444
"zenstruck/mailer-test": "^1.4"

0 commit comments

Comments
 (0)