This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/src/Controller/SupervisionsController.php (line 31) | |
[ | |
'id' => (int) 3, | |
'numero_contrat' => 'B08-002', | |
'po' => '', | |
'mobilisation' => (float) 3000, | |
'demobilisation' => (float) 3000, | |
'surtemps' => (int) 40, | |
'unite_de_mesure' => '', | |
'localisation_id' => (int) 3, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Connection; | |
class Connection { | |
public $Error; | |
public $Connection; | |
public $dataSourceName = "odbc:boreal"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Equipements; | |
use App\Connection\Connection; | |
class Equipements extends Connection{ | |
private $table = '"TAB_Equipement"'; | |
public static function getList(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Table; | |
class Employees{ | |
public function __get($key){ | |
$method = 'get'.ucfirst($key); | |
$this->$key = $this->$method; | |
return $this->$key; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Core\Database; | |
use \PDO; | |
class MsAcessDatabase extends Database{ | |
private $db_dbq; | |
private $db_user; | |
private $db_pass; | |
private $db_driver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Table; | |
use Core\Table\Table; | |
class EmployeeTable extends Table{ | |
protected $table = "TAB_Employe"; | |
private $validForeur = ["Runner","Runner/Seul","Runner/Foreman"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Controller; | |
use Carbon\Carbon; | |
use Core\Flash\Flash; | |
use App\Entity\EmployeeEntity; | |
class CalculesController extends AppController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Connection information used by the ORM to connect | |
* to your application's datastores. | |
*/ | |
'Datasources' => [ | |
'default' => [ | |
'className' => 'Cake\Database\Connection', | |
'driver' => 'Cake\Database\Driver\Mysql', | |
'persistent' => false, | |
'host' => 'localhost', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh://vagrant@localhost:2222/usr/bin/php -dxdebug.coverage_enable=1 /home/vagrant/.phpstorm_helpers/phpunit.php --coverage-clover /home/vagrant/.phpstorm_helpers/coverage/Timesheets_EmployeesTableTest_testFindDisponible.coverage --no-configuration --filter "/::testFindDisponible( .*)?$/" App\Test\TestCase\Model\Table\EmployeesTableTest /var/www/timesheets/tests/TestCase/Model/Table/EmployeesTableTest.php | |
Testing started at 10:30 ... | |
PHPUnit 4.4.0 by Sebastian Bergmann. | |
The datasource configuration "default" was not found. | |
/var/www/timesheets/vendor/cakephp/cakephp/src/Datasource/ConnectionManager.php:187 | |
/var/www/timesheets/vendor/cakephp/cakephp/src/ORM/TableRegistry.php:191 | |
/var/www/timesheets/tests/TestCase/Model/Table/EmployeesTableTest.php:78 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit | |
colors="true" | |
processIsolation="false" | |
stopOnFailure="false" | |
syntaxCheck="false" | |
bootstrap="./tests/bootstrap.php" | |
> | |
<php> | |
<ini name="memory_limit" value="-1"/> |
OlderNewer