From d74662df7df72ad9ec238b78223acc0e7f65311f Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Wed, 28 Jan 2015 22:08:50 +0100 Subject: implement php code checker to detect usage of not allowed private APIs - including console command to check local code to be used by developers --- tests/data/app/code-checker/test-const.php | 10 ++++++++++ tests/data/app/code-checker/test-extends.php | 8 ++++++++ tests/data/app/code-checker/test-implements.php | 9 +++++++++ tests/data/app/code-checker/test-new.php | 10 ++++++++++ tests/data/app/code-checker/test-static-call.php | 10 ++++++++++ 5 files changed, 47 insertions(+) create mode 100644 tests/data/app/code-checker/test-const.php create mode 100644 tests/data/app/code-checker/test-extends.php create mode 100644 tests/data/app/code-checker/test-implements.php create mode 100644 tests/data/app/code-checker/test-new.php create mode 100644 tests/data/app/code-checker/test-static-call.php (limited to 'tests/data') diff --git a/tests/data/app/code-checker/test-const.php b/tests/data/app/code-checker/test-const.php new file mode 100644 index 00000000000..2af6baf2f3d --- /dev/null +++ b/tests/data/app/code-checker/test-const.php @@ -0,0 +1,10 @@ +