: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
array_push($animations, array(
'name' => n2_('Scale up'),
'transformOrigin' => '50|*|50|*|0',
array_push($animations, array(
'name' => n2_('Scale down'),
'transformOrigin' => '50|*|50|*|0',
array_push($animations, array(
'transformOrigin' => '50|*|50|*|0',
array_push($animations, array(
'transformOrigin' => '100|*|100|*|0',
array_push($animations, array(
'transformOrigin' => '0|*|0|*|0',
array_push($animations, array(
'name' => n2_('Stand up'),
'transformOrigin' => '100|*|100|*|0',
array_push($animations, array(
'name' => n2_('Rotate down'),
'transformOrigin' => '50|*|0|*|0',
array_push($animations, array(
'name' => n2_('Elastic'),
'transformOrigin' => '50|*|50|*|0',
'ease' => 'easeOutElastic',
array_push($animations, array(
'name' => n2_('Random elastic'),
'transformOrigin' => '50|*|50|*|0',
'ease' => 'easeOutElastic',
'value' => n2_('My text animations')
public function backgroundAnimationStorage(&$sets, &$animations) {
'value' => n2_('Default')
array_push($animations, array(
'name' => n2_('Scale to left'),
'sequence' => 'ForwardDiagonal'
'ease' => 'easeOutCubic',
'ease' => 'easeOutCubic',
array_push($animations, array(
'sequence' => 'ForwardDiagonal'
'ease' => 'easeOutCubic',
'ease' => 'easeOutCubic',
array_push($animations, array(
'name' => n2_('Zoom out'),
'sequence' => 'ForwardDiagonal'
'ease' => 'easeOutCubic',
'ease' => 'easeOutCubic',
array_push($animations, array(
'sequence' => 'ForwardDiagonal'
'ease' => 'easeOutCubic',
array_push($animations, array(
'name' => n2_('Curtain to left'),
'sequence' => 'BackwardCol'
'sequence' => 'ForwardCol'
array_push($animations, array(
'value' => n2_('Vertical')
array_push($animations, array(
'name' => n2_('Scale to top'),
'sequence' => 'ForwardDiagonal'
'ease' => 'easeOutCubic',
'ease' => 'easeOutCubic',
array_push($animations, array(
'name' => n2_('Scale to bottom'),
'sequence' => 'ForwardDiagonal'
'ease' => 'easeOutCubic',
'ease' => 'easeOutCubic',
array_push($animations, array(
'name' => n2_('Curtain to bottom'),
'sequence' => 'ForwardRow'
'sequence' => 'BackwardRow'
array_push($animations, array(
'name' => n2_('Curtain to top'),
'sequence' => 'BackwardRow'