hautelook /
AliceBundle
This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | /* |
||
| 4 | * This file is part of the Hautelook\AliceBundle package. |
||
| 5 | * |
||
| 6 | * (c) Baldur Rensch <[email protected]> |
||
| 7 | * |
||
| 8 | * For the full copyright and license information, please view the LICENSE |
||
| 9 | * file that was distributed with this source code. |
||
| 10 | */ |
||
| 11 | |||
| 12 | namespace Hautelook\AliceBundle\HttpKernel; |
||
| 13 | |||
| 14 | use Hautelook\AliceBundle\NotCallableTrait; |
||
| 15 | use Symfony\Component\DependencyInjection\Container; |
||
| 16 | use Symfony\Component\HttpFoundation\Request; |
||
| 17 | use Symfony\Component\HttpKernel\KernelInterface; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @author Théo FIDRY <[email protected]> |
||
| 21 | */ |
||
| 22 | class DummyKernel implements KernelInterface |
||
| 23 | { |
||
| 24 | use NotCallableTrait; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritdoc |
||
| 28 | */ |
||
| 29 | public function serialize() |
||
| 30 | { |
||
| 31 | $this->__call(__METHOD__, func_get_args()); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritdoc |
||
| 36 | */ |
||
| 37 | public function unserialize($serialized) |
||
| 38 | { |
||
| 39 | $this->__call(__METHOD__, func_get_args()); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritdoc |
||
| 44 | */ |
||
| 45 | public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true) |
||
| 46 | { |
||
| 47 | $this->__call(__METHOD__, func_get_args()); |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritdoc |
||
| 52 | */ |
||
| 53 | public function registerBundles() |
||
| 54 | { |
||
| 55 | $this->__call(__METHOD__, func_get_args()); |
||
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @inheritdoc |
||
| 60 | */ |
||
| 61 | public function registerContainerConfiguration(\Symfony\Component\Config\Loader\LoaderInterface $loader) |
||
| 62 | { |
||
| 63 | $this->__call(__METHOD__, func_get_args()); |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @inheritdoc |
||
| 68 | */ |
||
| 69 | public function boot() |
||
| 70 | { |
||
| 71 | // Do nothing |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @inheritdoc |
||
| 76 | */ |
||
| 77 | public function shutdown() |
||
| 78 | { |
||
| 79 | $this->__call(__METHOD__, func_get_args()); |
||
| 80 | } |
||
| 81 | |||
| 82 | /** |
||
| 83 | * @inheritdoc |
||
| 84 | */ |
||
| 85 | public function getBundles() |
||
| 86 | { |
||
| 87 | return []; |
||
| 88 | } |
||
| 89 | |||
| 90 | /** |
||
| 91 | * @inheritdoc |
||
| 92 | */ |
||
| 93 | public function getBundle($name, $first = true) |
||
| 94 | { |
||
| 95 | $this->__call(__METHOD__, func_get_args()); |
||
| 96 | } |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @inheritdoc |
||
| 100 | */ |
||
| 101 | public function locateResource($name, $dir = null, $first = true) |
||
| 102 | { |
||
| 103 | $this->__call(__METHOD__, func_get_args()); |
||
| 104 | } |
||
| 105 | |||
| 106 | /** |
||
| 107 | * @inheritdoc |
||
| 108 | */ |
||
| 109 | public function getName() |
||
| 110 | { |
||
| 111 | return 'fake'; |
||
| 112 | } |
||
| 113 | |||
| 114 | /** |
||
| 115 | * @inheritdoc |
||
| 116 | */ |
||
| 117 | public function getEnvironment() |
||
| 118 | { |
||
| 119 | return 'fake_env'; |
||
| 120 | } |
||
| 121 | |||
| 122 | /** |
||
| 123 | * @inheritdoc |
||
| 124 | */ |
||
| 125 | public function isDebug() |
||
| 126 | { |
||
| 127 | return true; |
||
| 128 | } |
||
| 129 | |||
| 130 | /** |
||
| 131 | * @inheritdoc |
||
| 132 | */ |
||
| 133 | public function getRootDir() |
||
| 134 | { |
||
| 135 | $this->__call(__METHOD__, func_get_args()); |
||
| 136 | } |
||
| 137 | |||
| 138 | /** |
||
| 139 | * @inheritdoc |
||
| 140 | */ |
||
| 141 | public function getContainer() |
||
| 142 | { |
||
| 143 | return new Container(); |
||
| 144 | } |
||
| 145 | |||
| 146 | /** |
||
| 147 | * @inheritdoc |
||
| 148 | */ |
||
| 149 | public function getStartTime() |
||
| 150 | { |
||
| 151 | $this->__call(__METHOD__, func_get_args()); |
||
| 152 | } |
||
| 153 | |||
| 154 | /** |
||
| 155 | * @inheritdoc |
||
| 156 | */ |
||
| 157 | public function getCacheDir() |
||
| 158 | { |
||
| 159 | $this->__call(__METHOD__, func_get_args()); |
||
| 160 | } |
||
| 161 | |||
| 162 | /** |
||
| 163 | * @inheritdoc |
||
| 164 | */ |
||
| 165 | public function getLogDir() |
||
| 166 | { |
||
| 167 | $this->__call(__METHOD__, func_get_args()); |
||
| 168 | } |
||
| 169 | |||
| 170 | /** |
||
| 171 | * @inheritdoc |
||
| 172 | */ |
||
| 173 | public function getCharset() |
||
| 174 | { |
||
| 175 | $this->__call(__METHOD__, func_get_args()); |
||
| 176 | } |
||
| 177 | |||
| 178 | /** |
||
| 179 | * @inheritdoc |
||
| 180 | */ |
||
| 181 | public function isClassInActiveBundle($class) |
||
|
0 ignored issues
–
show
|
|||
| 182 | { |
||
| 183 | $this->__call(__METHOD__, func_get_args()); |
||
| 184 | } |
||
| 185 | } |
||
| 186 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.