I found a way to use this plugin with php 7.2
If you have the following error:
Fatal error: Cannot use it in src\Base\Object.php on line 14
I took the following steps:
Rename the src\Bas\Object.php file to src\Bas\BaseObject.php
Now in this file src\Bas\BaseObject.php
line 14 'class Object' => 'class BaseObject'
Open src\Bhava\Object\BhavaObject.php
9 line use Jyotish\Base\Object; => use Jyotish\Base\BaseObject;
16 line class BhavaObject extends Object { => class BhavaObject extends BaseObject {
Open src\Graha\Object\GrahaObject.php
10 line use Jyotish\Base\Object; => use Jyotish\Base\BaseObject;
21 line class GrahaObject extends Object => class GrahaObject extends BaseObject
Open src\Rashi\Object\RashiObject.php
19 line class RashiObject extends \Jyotish\Base\Object => class RashiObject extends \Jyotish\Base\BaseObject
Open src\Base\Traits\EnvironmentTrait.php
line 38 @return \Jyotish\Base\Object => @return \Jyotish\Base\BaseObject
Start php 7.2
I found a way to use this plugin with php 7.2 If you have the following error: Fatal error: Cannot use it in src\Base\Object.php on line 14
I took the following steps:
Rename the src\Bas\Object.php file to src\Bas\BaseObject.php Now in this file src\Bas\BaseObject.php line 14 'class Object' => 'class BaseObject' Open src\Bhava\Object\BhavaObject.php 9 line use Jyotish\Base\Object; => use Jyotish\Base\BaseObject; 16 line class BhavaObject extends Object { => class BhavaObject extends BaseObject { Open src\Graha\Object\GrahaObject.php 10 line use Jyotish\Base\Object; => use Jyotish\Base\BaseObject; 21 line class GrahaObject extends Object => class GrahaObject extends BaseObject Open src\Rashi\Object\RashiObject.php 19 line class RashiObject extends \Jyotish\Base\Object => class RashiObject extends \Jyotish\Base\BaseObject Open src\Base\Traits\EnvironmentTrait.php line 38 @return \Jyotish\Base\Object => @return \Jyotish\Base\BaseObject Start php 7.2