"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/data/validators/models/FakedValidationModel.php" between
yii2-2.0.35.tar.gz and yii2-2.0.36.tar.gz

About: Yii 2 is a high-performance component-based PHP framework for developing large-scale Web applications (source).

FakedValidationModel.php  (yii2-2.0.35):FakedValidationModel.php  (yii2-2.0.36)
skipping to change at line 47 skipping to change at line 47
{ {
return [ return [
[['val_attr_a', 'val_attr_b'], 'required', 'on' => 'reqTest'], [['val_attr_a', 'val_attr_b'], 'required', 'on' => 'reqTest'],
['val_attr_c', 'integer'], ['val_attr_c', 'integer'],
['attr_images', 'file', 'maxFiles' => 3, 'extensions' => ['png'], 'o n' => 'validateMultipleFiles', 'checkExtensionByMimeType' => false], ['attr_images', 'file', 'maxFiles' => 3, 'extensions' => ['png'], 'o n' => 'validateMultipleFiles', 'checkExtensionByMimeType' => false],
['attr_image', 'file', 'extensions' => ['png'], 'on' => 'validateFil e', 'checkExtensionByMimeType' => false], ['attr_image', 'file', 'extensions' => ['png'], 'on' => 'validateFil e', 'checkExtensionByMimeType' => false],
['!safe_attr', 'integer'], ['!safe_attr', 'integer'],
]; ];
} }
public function inlineVal($attribute, $params = [], $validator) public function inlineVal($attribute, $params = [], $validator, $current)
{ {
$this->inlineValArgs = \func_get_args(); $this->inlineValArgs = \func_get_args();
return true; return true;
} }
public function clientInlineVal($attribute, $params = [], $validator) public function clientInlineVal($attribute, $params = [], $validator, $curre nt)
{ {
return \func_get_args(); return \func_get_args();
} }
public function __get($name) public function __get($name)
{ {
if (strncasecmp($name, 'attr', 4) === 0) { if (strncasecmp($name, 'attr', 4) === 0) {
return isset($this->attr[$name]) ? $this->attr[$name] : null; return isset($this->attr[$name]) ? $this->attr[$name] : null;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)