Fix namespace.
Use strict comparison.
Remove unneeded "use" statements.
Add newline at end of file.
An array should be passed to allowMethod to allow multiple methods
Remove unused variables.
Merge pull request #4899 from berrygoudswaard/bakeDeleteAllowMethodFix

An array should be passed to allowMethod to allow multiple methods
Add back response property assignment removed by mistake.
Fix broken primary key check for SqliteSchema.
Fix failing test.
Rename EventListener to EventListenerInterface.
Add EventListener class for backwards compatibility.
Merge pull request #4898 from cakephp/3.0-cleanup

3.0 cleanup
Always pass an ArrayObject into beforeValidate events.

This makes the Model.beforeValidate event the same as other events in
the Model layer where they get an ArrayObject of options.

Refs #4900
Restore the ability to create arbirtary meta tags.

This behavior was lacking a test case, and was accidentally removed in
a5feef9.

Refs #4903
Fix DigestAuthenticate with simulated HTTP methods.

Digest authentication headers depend on the original HTTP method. When
we use simulated request methods, we break digest authentication as the
hashes never match. This change adds `ORIGINAL_REQUEST_METHOD` to
request->env(), which allows us to access the original HTTP method.
I went down this route as I wanted to avoid more global dependencies,
and I thought having a way to access the original HTTP method could be
generally useful.

Refs #4889
Merge pull request #4905 from cakephp/issue-4900

Always pass an ArrayObject into beforeValidate events.
Merge pull request #4907 from cakephp/issue-4889

Fix DigestAuthenticate with simulated HTTP methods.
Allow arbitrary meta tags to be created with arrays.

This was removed in the 2.x -> 3.0 updates, but there isn't really
a reason to remove it imo.

Refs #4903
Cleanup TestCase extends