• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FluidTYPO3 / flux / 3054
93%

Build:
DEFAULT BRANCH: development
Ran 29 Oct 2017 11:25PM UTC
Jobs 2
Files 173
Run time 27s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3054

push

travis-ci

NamelessCoder
[FEATURE] Add vast collection of hooks

This patch adds 44 hooks to pretty much every part of Flux's internal logic, allowing you to subscribe to hooks and, for most hooks, manipulate return data.

Hook subscribers must implement `\FluidTYPO3\Flux\Hooks\HookSubscriberInterface` which contains a single method that receives the hook name and a payload of data, and must return the data with or without modifications.

There are two ways to register hook subscribers:

* `\FluidTYPO3\Flux\Hooks\HookHandler::subscribe()`
* `$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['flux']['hooks'][$hook][$subscriberClass] = $subscriberClass;`

The former is useful if you need a strict validation of input arguments. The latter is useful if you need the hooks to be configured in, for example, AdditionalConfiguration.php.

See https://github.com/FluidTYPO3/flux/tree/development/Classes/Hooks/HookHandler.php for a list of hooks.

5045 of 5816 relevant lines covered (86.74%)

22.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3054.1 (COVERAGE="YES" TYPO3_VERSION="^8") 29 Oct 2017 11:24PM UTC 0
86.74
Travis Job 3054.1
2 3054.2 (COVERAGE="YES" TYPO3_VERSION="^8") 29 Oct 2017 11:25PM UTC 0
86.73
Travis Job 3054.2
Source Files on build 3054
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3054
  • 1f76e8a6 on github
  • Prev Build on development (#3053)
  • Next Build on development (#3055)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc