Skip to content

Commit c8b991e

Browse files
committed
Add DEPRECATIONS.md (initial)
1 parent a30ee69 commit c8b991e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

DEPRECATIONS.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Deprecation scan: WIP
2+
3+
This file is a living record of the deprecation warnings discovered while running the test suite and the corrective actions taken.
4+
5+
Status: scan not yet run on CI from this environment. I will run vendor/bin/phpunit locally/CI and update this file with full deprecation messages and locations.
6+
7+
Planned steps
8+
9+
1. Run vendor/bin/phpunit and capture all deprecation notices (message, file, line).
10+
2. Update tests to replace deprecated PHPUnit APIs (assertInternalType -> assertIs*, setUp/tearDown signatures to return void, remove @expectedException annotations, update assertAttribute* usages, etc.).
11+
3. Update source code to replace deprecated CakePHP APIs flagged by tests.
12+
4. Update fixtures/bootstrap to avoid deprecated calls.
13+
5. Re-run test suite until deprecation-free.
14+
6. Add the full before/after test output to the PR description.
15+
16+
Notes
17+
- Minimal, non-breaking changes will be preferred. Any deprecation that requires a breaking change will be documented and left for a major-version work item.
18+
- Branch: copilot/update-deprecated-code-phpunit
19+
20+
Updates will be appended here as they are discovered and fixed.
21+
22+
23+
Initial entries
24+
25+
- None yet (scan pending)

0 commit comments

Comments
 (0)