Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Aspect Mock Laravel Package

codeception/aspect-mock

View on GitHub
Deep Wiki
Context7
4.1.1

What's Changed

4.1.0

What's Changed

Full Changelog: https://github.com/Codeception/AspectMock/compare/4.0.0...4.1.0

4.0.0
  • Support for goaop/framework v3
  • PHP 7.4 only
  • Use codeception/verify v2 in tests
3.1.1
  • Fixed PHPUnit Framework Exception Undefined offset at BeforeMock by @ahmed-abid
  • This version does not support PHP 8
  • This version does not support goaop/framework v3
3.1.0
  • Support for goaop/framework v3
  • Support for symfony/finder v5
  • Added missing assertions for method call invocations #160 by @bhoehl
  • Fixed wrong method invocation count on dynamic methods using exceptions #161 by @bhoehl
  • Bugfix: Handle a case when excludePaths is a string
3.0.2

Fixed #148 , Patch #157

3.0.1

See #155 and #156

2.2.0
2.0.1
  • Fixed verifyNeverInvoked to call with array params #119
  • Use strict comparison for onlyExpectedArguments #121
2.0.0
  • Updated to Go AOP Framework 2.0
  • PHP7 (with typehints) supported
  • Minimal PHP version is PHP 5.6
2.0.0-RC
1.0.0

First stable release of Robo, based on Go AOP Framework v 1.0

0.5.5

Symfony3 compatibility

0.5.4
  • Improved namespace handling
  • Added ability to display actually passed parameter in the error message
  • Fixed counting of dynamic class methods (#24)
  • Fixes for functions that have a brace as default on parameters
  • Replace return with yield when docComments returns Generator
0.5.3
0.5.1

fix strict errors for FuncProxy

0.5.0

Interception of PHP functions, update to Go AOP 0.5

0.5.0-beta2
0.5.0-beta

Migrated to Go\Aop 0.5.x-dev

0.4.2

Fixed dependency

0.4.1

Traits support and other Pull Requests merged. Robo builder added

0.4.1

02/25/2014

  • RoboFile
  • Verify invocation arguments with closures @gchaincl
  • Verify invocation arguments with closures by @gchaincl
  • better support for traits by @andyfowler
0.4.0

A huge improvement to stability, performance added. Level of hard magic reduced. AspectMock dropped Go Aop proxy classes, and now tries to affect your code in very minimal way.

Instead of creating A_AspectProxy for class A (as Go Aop does), AspectMock places its tiny beacons directly into A methods, in very beginning of method definition.

Changes:

  • you can freely use debugger, as your classes left practically unchanged.
  • stacktrace look much more cleaner and more natural.
  • performance dramatically improved. Still, AOP magic takes about 15% of overall execution.
  • remved MethodProxy class. You can't verify result of method calls anymore.
  • test::ns method added to api, for prepending a namespace name to class.
  • debug is enabled by default
0.3.0

This version adds flexibility to method interception. Now you can catch call to a parent class and redeclare it. Also you can mock magic methods just same way you do for non-magic ones. No matter how an where method is declared, we will try to catch it and mock it if you wish that, master.

  • updated to Go Aop 0.4.1 (improved work with Yii)
  • interception of parent class methods
  • interception of magic methods
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle