fidum / laravel-blueprint-pestphp-addon Goto Github PK
View Code? Open in Web Editor NEWA PestPHP addon for Laravel Shift's Blueprint
License: MIT License
A PestPHP addon for Laravel Shift's Blueprint
License: MIT License
Issue: laravel-shift/blueprint#254
When using a custom model namespace blueprint config setting, the generated test import models have the wrong namespace.
Port fix from PR: laravel-shift/blueprint#256
Needs porting from fixes in blueprint to our customised test generator.
Review changes released in 1.15.1
Generate assertions for Eloquent update statements (laravel-shift/blueprint#288)
Generate simple assertions for resource statements (laravel-shift/blueprint#290)
Report:
__invoke:
dispatch: GenerateReport with:event
notify: auth.user ReportGenerated with:report
render: report
Error:
Undefined array key 1
at vendor/fidum/laravel-blueprint-pestphp-addon/src/Builders/Statements/DispatchStatementBuilder.php:32
28▕ if (Str::studly(Str::singular($data)) === $this->context) {
29▕ $variables[] .= '$'.$data;
30▕ $conditions[] .= sprintf('$job->%s->is($%s)', $data, $data);
31▕ } else {
➜ 32▕ [$model, $property] = explode('.', $data);
33▕ $variables[] .= '$'.$model;
34▕ $conditions[] .= sprintf('$job->%s == $%s', $property ?: $model,
35▕ str_replace('.', '->', $data()));
36▕ }
+22 vendor frames
23 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
See PR: laravel-shift/blueprint#280
Original issue: laravel-shift/blueprint#207
Port fix to our code then review a declined PR laravel-shift/blueprint#220 to see if anything can be done to support resource: api
.
Issue: laravel-shift/blueprint#20
Added in PR: laravel-shift/blueprint#235
Currently Notifications will be treated as Mails which was changed above. Best to wait until change is released as likely to be additional changes.
Needs porting from fixes in blueprint to our customised test generator.
Review changes made in PR laravel-shift/blueprint#282
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.