| 1 | <?php |
||
| 2 | |||
| 3 | // ------------------------------------------------------------------------- |
||
| 4 | // OVIDENTIA http://www.ovidentia.org |
||
| 5 | // Ovidentia is free software; you can redistribute it and/or modify |
||
| 6 | // it under the terms of the GNU General Public License as published by |
||
| 7 | // the Free Software Foundation; either version 2, or (at your option) |
||
| 8 | // any later version. |
||
| 9 | // |
||
| 10 | // This program is distributed in the hope that it will be useful, but |
||
| 11 | // WITHOUT ANY WARRANTY; without even the implied warranty of |
||
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||
| 13 | // See the GNU General Public License for more details. |
||
| 14 | // |
||
| 15 | // You should have received a copy of the GNU General Public License |
||
| 16 | // along with this program; if not, write to the Free Software |
||
| 17 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
||
| 18 | // USA. |
||
| 19 | // ------------------------------------------------------------------------- |
||
| 20 | /** |
||
| 21 | * @license http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL) |
||
| 22 | * @copyright Copyright (c) 2022 by SI4YOU ({@link https://www.siforyou.com}) |
||
| 23 | */ |
||
| 24 | namespace Capwelton\LibApp\Set; |
||
| 25 | |||
| 26 | use Capwelton\LibApp\Func_App; |
||
| 27 | use Capwelton\LibOrm\MySql\ORMMySqlIterator; |
||
|
0 ignored issues
–
show
|
|||
| 28 | |||
| 29 | use function Capwelton\LibOrm\ORM_StringField; |
||
|
0 ignored issues
–
show
|
|||
| 30 | use function Capwelton\LibOrm\ORM_TextField; |
||
|
0 ignored issues
–
show
|
|||
| 31 | |||
| 32 | /** |
||
| 33 | * @property ORMStringField $name |
||
| 34 | * @property ORMTextField $description |
||
| 35 | * |
||
| 36 | * @method AppRole get(mixed $criteria) |
||
| 37 | * @method AppRole request(mixed $criteria) |
||
| 38 | * @method AppRole[]|ORMMySqlIterator select(ORMCriteria $criteria = null) |
||
| 39 | * @method AppRole newRecord() |
||
| 40 | */ |
||
| 41 | class AppRoleSet extends AppRecordSet |
||
| 42 | { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param Func_App $App |
||
| 46 | */ |
||
| 47 | public function __construct(Func_App $App) |
||
| 48 | { |
||
| 49 | parent::__construct($App); |
||
| 50 | |||
| 51 | $this->setPrimaryKey('id'); |
||
| 52 | |||
| 53 | $this->addFields( |
||
| 54 | ORM_StringField('name')->setDescription('Name'), |
||
| 55 | ORM_TextField('description')->setDescription('Description') |
||
| 56 | ); |
||
| 57 | } |
||
| 58 | } |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths