This file has been truncated, but you can view the full file.
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
[{"name":"generate-buildid","duration":227,"timestamp":919142774630,"id":4,"parentId":1,"tags":{},"startTime":1707246746744,"traceId":"598509d56c320713"},{"name":"load-custom-routes","duration":159,"timestamp":919142774969,"id":5,"parentId":1,"tags":{},"startTime":1707246746744,"traceId":"598509d56c320713"},{"name":"collect-pages","duration":24750,"timestamp":919142881322,"id":6,"parentId":1,"tags":{},"startTime":1707246746850,"traceId":"598509d56c320713"},{"name":"create-pages-mapping","duration":295,"timestamp":919142906902,"id":7,"parentId":1,"tags":{},"startTime":1707246746876,"traceId":"598509d56c320713"},{"name":"collect-app-paths","duration":1127,"timestamp":919142907223,"id":8,"parentId":1,"tags":{},"startTime":1707246746876,"traceId":"598509d56c320713"},{"name":"create-app-mapping","duration":463,"timestamp":919142908368,"id":9,"parentId":1,"tags":{},"startTime":1707246746877,"traceId":"598509d56c320713"},{"name":"public-dir-conflict-check","duration":355,"timestamp":919142909108,"id":10,"parentId":1 |
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
// create a script on https://script.google.com/ | |
function processReceipts() { | |
const userEmail = Session.getActiveUser().getEmail().toLowerCase(); | |
const newReceiptsLabel = GmailApp.getUserLabelByName('receipts-unprocessed'); | |
const processedReceiptsLabel = GmailApp.getUserLabelByName('receipts-processed'); | |
const destinationEmail = "[email protected]" | |
console.log(`Running as ${userEmail}`); |
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 Tests\Component\Validation; | |
use Mockery as m; | |
use Symfony\Component\Validator\Constraint; | |
use Symfony\Component\Validator\Validator\ValidatorInterface; | |
use Symfony\Component\Validator\ConstraintValidator; | |
use Symfony\Component\Validator\Context\ExecutionContextInterface; | |
use Tests\Codeception\TestCase\ComponentTest; |
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 Tests\Ez\Functional\Data; | |
use Tests\Codeception\TestCase\FunctionalTest; | |
use Tests\Ez\Codeception\DataConfiguration; | |
use Tests\Ez\FunctionalTester; | |
/** | |
* System should be translatable through a Web Interface |
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 Tests\Ez\Unit\ECommerce\Form; | |
use Ez\ECommerce\Form\CreditCardType; | |
use Majisti\ECommerce\CreditCard\CreditCard; | |
use Majisti\Testing\TestCase\FormTypeTest; | |
use Mockery as m; | |
use Symfony\Component\Validator\Constraints\NotBlank; |
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 Tests\Ez\Functional\Api; | |
use Codeception\Scenario; | |
use FOS\RestBundle\Util\Codes; | |
use Tests\Ez\FunctionalTester; | |
/** | |
* @group api |
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 Tests\Ez\Helper; | |
use Codeception\Module; | |
use Codeception\TestCase; | |
use Symfony\Bundle\FrameworkBundle\Console\Application as ConsoleApplication; | |
use Symfony\Component\Console\Input\ArrayInput; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\StreamOutput; |
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 | |
// Nous vérifions que l'utilisateur est bien du bon type pour ne pas appeler getLastActivity() sur un objet autre objet User | |
if ($user instanceof User && $user->getLastActivity() < $delay) { | |
$user->setActiveNow(); | |
$this->em->flush($user); | |
} | |
if ($user instanceof User && $user->getLastActivity() < $delay) { | |
$user->setActiveNow(); |