What I did
- Purposefully put
$this->primaryKey('id')
in my Table class - Call
->find('all')->all()
on that Table inside Controller
What I expected
A deprecation notice at the top of my screen since primaryKey()
is deprecated.
What actually happened
Everything worked with no errors shown
What have I checked
display_errors
isOn
inphpinfo()
error_reporting
is32767
a.k.a.E_ALL
inphpinfo()
$this->TESTprimaryKey('id')
raisesBadMethodCallException
Unknown method "TESTprimaryKey", meaning it's the right TableError.errorLevel
set to E_ALL in my app.phpphp composer.phar upgrade
andphp composer.phar update
just in caseVERSION.txt
shows 3.6.10. All of this is also true for 4.2.4.